<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:include="login::nav">
</div>
<div th:if="${action}==update">
<h2> 修改密码</h2>
<hr>
<form  method="post" action="/stu/update">
账号：    <input type="text" name="phone"><br>
原密码：  <input type="text" name="pwd"><br>
新密码：  <input type="text" name="pwd1"><br>
二次密码：<input type="text" name="pwd2"><br>
    <input type="submit">
</form>
<div th:text="${pwd1}"></div>
</div>
<div th:if="${action}==findcou">
<table border="1">
    <tr>
        <th>教师ID</th>
        <th>教师名称</th>
        <th>班级编号</th>
        <th>班级名称</th>
        <th>课程编号</th>
        <th>课程名称</th>
    </tr>
    <tr th:each="x:${task}">
        <td th:text="${x.user.uid}"></td>
        <td th:text="${x.user.uname}"></td>
        <td th:text="${x.clz.clzno}"></td>
        <td th:text="${x.clz.clzname}"></td>
        <td th:text="${x.course.cno}"></td>
        <td th:text="${x.course.cname}"></td>
    </tr>
</table>
</div>

<div th:if="${action}==findmark">
    <table border="1"style=" margin-left: auto;margin-right: auto;">
      <tr>
          <th>学号</th>
          <th>学生姓名</th>
          <th>课程编号</th>
          <th>课程名称</th>
          <th>分数</th>
          <th>录入时间</th>
      </tr>
        <tr th:each="x:${mark}">
            <td th:text="${x.user.uid}"></td>
            <td th:text="${x.user.uname}"></td>
            <td th:text="${x.course.cno}"></td>
            <td th:text="${x.course.cname}"></td>
            <td th:text="${x.score}"></td>
            <td th:text="${x.tpost}"></td>
        </tr>
    </table>
</div>
</body>
</html>